<div fwa-layout-container data-main="true" class="full-height full-width">
	<div fwa-layout-box="north"  style="height: 340px;">
		<div class="col-xs-6 full-height">
			<div class="full-width title" style="margin-top: 8px;" >
				<div class="col-xs-12" >
					<h4>
						<b>事件信息</b>
					</h4>
				</div>
			</div>
			<div class="full-width full-height background-white">
				<div class="col-xs-12" style="margin-top: 8px;">
				    <div class="form-group col-xs-6">
                        案件号:
			            <span ng-bind="caseObj.caseCode">
			            </span>
				    </div>
				    <div class=" form-group col-xs-6">
                        稽核时段:
			       		 <span ng-bind="caseObj.periodBeginDate">
			            </span>
			            -
			            <span ng-bind="caseObj.periodEndDate">
			            </span>
				    </div>
				</div>
				<div class="col-xs-12">
					<div class=" form-group col-xs-6">
                        稽核时间:
			         	<span ng-bind="caseObj.auditDate">
			            </span>
				    </div>
				    <div class=" form-group col-xs-6">
                        关联案件号:
				        <span ng-bind="caseObj.relatedCode">
				        </span>
				    </div>
				   
				</div>
				<div class="col-xs-12">
				 	<div class="form-group col-xs-6">
						事件要点:
				        <span ng-bind="caseObj.keyPoint">
				        </span>
				    </div>
				    <div class=" form-group col-xs-6">
			          	 案件来源:
				        <a ng-click="showCase()">查看</a>
				    </div>
				</div>
				
				<div class="col-xs-12">
				    <div class="form-group col-xs-12" >
			           	 详细情况:
			         	<span ng-bind="caseObj.detailDesc">
				        </span>
				    </div>
				</div>
			</div>
		</div>
		<div class="col-xs-6 full-height ">
			<div class=" row" style="margin-top: 8px;margin-right: 0px;" >
				<div class="col-xs-12 title" >
					<div class="col-xs-9" >
						<div class="row">
							<h4>
								<b>涉及医疗机构(<span ng-bind="medicalCount"></span>)</b>
							</h4>
						</div>
					</div>
					<div class="col-xs-3 text-right" >
						<a>
							<b>新增</b>
						</a>
					</div>
				</div>
				<div class="col-xs-12 background-white" style="height: 70px;" >
					<div class=" col-xs-12" ng-class="{'cursor-pointer':data.show}" ng-mouseout="mouseoutShow(data);" ng-mouseover="mouseoverShow(data);" ng-repeat="data in initMedicalData">
						<div  class=" col-xs-9">
							<div class=" col-xs-12" style="line-height: 28px;"  >
								机构编号: <span ng-bind="initMedicalData.medicalCode"></span>
							</div>
							<div class=" col-xs-12" style="line-height: 28px;" >
								机构名称: <span ng-bind="initMedicalData.medicalName"></span>
							</div>
						</div>
						<div class="col-xs-3" style="line-height: 56px;">
							<div ng-show="data.show" class="full-width text-right">
								<a>扣分</a>&nbsp;
								<a>删除</a>
							</div>
						</div>
					</div>
					<div class="full-width full-height text-center" ng-show="!medicalCount || medicalCount <= 0">
							<div class="col-xs-1">
							</div>
							<div class="col-xs-10">
								<span>
									请通过右上角“新增”添加涉及医疗机构信息
								</span>
							</div>
						</div>
				</div>
			</div>
			<div class=" row" style="margin-top: 8px;margin-right: 0px;" >
				<div class="col-xs-6">
					<div class="row" style="margin-right: -4px;">
						<div class="full-width title" >
							<div class="col-xs-9" >
								<div class="row">
									<h4>
										<b>涉及医务人员(<span ng-bind="staffCount"></span>)</b>
									</h4>
								</div>
							</div>
							<div class="col-xs-3 text-right" >
								<a>
									<b>新增</b>
								</a>
							</div>
						</div>
					</div>
					<div class="row background-white full-overflow-y" style="height: 200px;margin-right: -4px;" >
						<div class="form-group col-xs-12" ng-class="{'cursor-pointer':data.show}" ng-mouseout="mouseoutShow(data);" ng-mouseover="mouseoverShow(data);" ng-repeat="data in initStaffData">
							<div class="col-xs-3" >
								<div class="row ">
									<span ng-bind="data.name">
									</span>
								</div>
							</div>
							<div class="col-xs-3" >
								<div class="row">
									<span ng-bind="'医生'">
									</span>
								</div>
							</div>
							<div class="col-xs-6" >
								<div ng-show="data.show" class="full-width text-right">
									<a>扣分</a>&nbsp;
									<a>删除</a>
								</div>
							</div>
						</div>
						<div class="full-width full-height text-center" ng-show="!staffCount || staffCount <= 0">
							<div class="col-xs-1">
							</div>
							<div class="col-xs-10 ">
								<span>
									请通过右上角“新增”添加涉及医务人员信息
								</span>
							</div>
						</div>
					</div>
				</div>
				<div class="col-xs-6">
					<div class="row" style="margin-left: -4px;">
						<div class="full-width title" >
							<div class="col-xs-9" >
								<div class="row">
									<h4>
										<b>涉及参保人(<span ng-bind="insuranceCount"></span>)</b>
									</h4>
								</div>
							</div>
							<div class="col-xs-3 text-right" >
								<a>
									<b>新增</b>
								</a>
							</div>
						</div>
					</div>
					<div class="row background-white full-overflow-y" style="height: 200px;margin-left: -4px;" >
						<div class="form-group col-xs-12" ng-class="{'cursor-pointer':data.show}" ng-mouseout="mouseoutShow(data);" ng-mouseover="mouseoverShow(data);" ng-repeat="data in initInsuranceData">
							<div class="col-xs-4" >
								<div class="row ">
									<span ng-bind="data.name">
									</span>
								</div>
							</div>
							<div class="col-xs-3" >
								<div class="row">
									<span ng-bind="'参保人'">
									</span>
								</div>
							</div>
							<div class="col-xs-5" >
								<div ng-show="data.show" class="full-width text-right">
									<a>扣分</a>&nbsp;
									<a>删除</a>
								</div>
							</div>
						</div>
						<div class="full-width full-height text-center" ng-show="!insuranceCount || insuranceCount <= 0">
							<div class="col-xs-1">
							</div>
							<div class="col-xs-10">
								<span>
									请通过右上角“新增”添加涉及参保人信息
								</span>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div  fwa-layout-box="center" padding="true">
		<div fwa-layout-container fwa-layout-fullsize="true"   >
			<div  fwa-layout-box="north" class="background-white" style="height: 34px;" >
				<div class="col-xs-12" >
                    <ul class="nav nav-arrows">
                        <li ng-repeat="tabs in problemtab" ng-class="{'active': selectedTabs==tabs}">
                            <div ng-show="$index < 4" class="arrows-float">
                                <span class="arrows-check"></span>
                            </div>
                            <a  ng-click="tabClicks(tabs)">
                                <b ng-bind="tabs.label"></b>
                            </a>
                            <span class="arrows"></span>
                        </li>
                    </ul>
				</div>
			</div>
			<div  fwa-layout-box="center" class="background-white full-overflow-y" >
					<div class="col-xs-12 full-height"  ng-show="tabIndex == 0"
	                     ng-include="problemtab[0].url">
	                </div>
	                <div class="col-xs-12 full-height"  ng-show="tabIndex == 1"
	                     ng-include="problemtab[1].url" >
	                </div>
                    <div class="col-xs-12 full-height"  ng-show="tabIndex == 2"
                         ng-include="problemtab[2].url">
                    </div>
                    <div class="col-xs-12 full-height"  ng-show="tabIndex == 3"
                         ng-include="problemtab[3].url" >
                    </div>
                    <div class="col-xs-12 full-height"  ng-show="tabIndex == 4"
                         ng-include="problemtab[4].url" >
                    </div>
			</div>
		</div>
	</div>
	<div fwa-layout-box="south" class="background-white" style="height: 80px;">
		<div class="col-xs-12 text-center" style="margin-top: 20px;">
			<button type="button"  class="btn btn-blue btn-sm" ng-click="onlySave()">
				暂存
			</button>
			<button type="button"  class="btn btn-blue btn-sm" ng-click="submitApr()">
				保存
			</button> 
			<button type="button"  class="btn btn-blue btn-sm" ng-click="goBack()">
				返回
			</button> 
		</div>
	</div> 
</div>

<script type="text/ng-template" id="sourceCaseShow_view.html">
    <!-- 弹出框 -->
<div class="modal-content" style="width: 800px;">
    <div class="modal-header">
        <button type="button" class="close" ng-click="onOk();">&times;</button>
        <h4 class="modal-title" ><span ng-bind="caseObj.caseCode"></span>来源信息</h4>
    </div>
    <div class="modal-body">
        <div class="row" style="margin-top: 10px;">
            <div class="col-xs-12" style="line-height: 30px;">
                <div class=" col-xs-4">
                    稽核时段:
			       		 <span ng-bind="caseObj.periodBeginDate">
			            </span>
                    -
			            <span ng-bind="caseObj.periodEndDate">
			            </span>
                </div>
                <div class="col-xs-4">
                    经办人:
			            <span >
			            </span>
                </div>
                <div class="col-xs-4">
                    来源方式:
			            <span ng-bind="caseObj.sourceType">
			            </span>
                </div>
            </div>
            <div class="col-xs-12" style="line-height: 30px;">
                <div class="col-xs-4">
                   对象名称:
			       		 <span ng-bind="caseObj.targetType">
			            </span>
                </div>
                <div class=" col-xs-4">
                    联系人:
			            <span ng-bind="caseObj.contactUserName">
			            </span>
                </div>
                <div class=" col-xs-4">
                    联系电话:
			            <span ng-bind="caseObj.contactPhone">
			            </span>
                </div>
            </div>
            <div class="col-xs-12" style="line-height: 30px;">
                <div class=" col-xs-4">
                    联系邮箱:
			            <span ng-bind="caseObj.contactMail">
			            </span>
                </div>
                <div class=" col-xs-4">
                  联系地址:
			            <span ng-bind="caseObj.contactAdderss">
			            </span>
                </div>
                <div class=" col-xs-4">
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <div class="text-center">
            <button type="button" class="btn btn-primary btn-sm" ng-click="onOk();" >
                关闭
            </button>
        </div>
    </div>
</div>
</script>